package com.authine.cloudpivot.app.openapi.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @author lifuchun
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("生成的令牌信息")
public class GenerateTokenReq implements Serializable {

    @ApiModelProperty("应用编码")
    private String appKey ;

    @ApiModelProperty("用户id，同步到云枢系统的用户baseUserId")
    private String userId;

    @ApiModelProperty("随机码,16位")
    private String nonce;

    @ApiModelProperty("签名")
    private String sign;


}
